<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../vue 2.6.10.js"></script>
</head>

<body>
    <div id="app">
        <ul>
            <li v-for="item,index of obj" :key="item.id">{{item.content}}</li><br>
            <li v-for="value,key of person">{{key}}--{{value}}</li><br>
            <li v-for="item,index of str">{{item}}--{{index}}</li><br>
            <li v-for="item,index of number">{{item}}--{{index}} -- 页码:{{item}}</li>
        </ul>
    </div>
    <script>
        Vue.config.productionTip = false;
        
        const vm = new Vue({
            el: "#app",
            data() {
                return {
                    obj:[
                        { id:1,content:'AAA'},
                        { id:2,content:'BBB'}
                    ],
                    person:{
                        name:"zhangsan",
                        age:11,
                        sex:"nan"
                    },
                    str:"lisi",
                    number:10
                }
            }
        })
</script>
</body>

</html>